﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp;

public class AiApp
{
    public static void main()
    {
        Console.WriteLine("请输入(输入q退出)：\n"); 
        string str=string.Empty;
        while(true) {
            
            str = Console.ReadLine();
            Console.WriteLine("\n");

            if (str.Trim() == "q")
            {
                break;
            }

            str = str.Replace("吗","");
            str = str.Replace("?", "!");
            str = str.Replace("？", "!");

            Console.WriteLine("回复：\n");

            Console.WriteLine(str);
        }
    }
}
